import request from './request'

const make = data =>{
    return request.post({
        url:'/files/imgs/img/make',
        data:data
    })
}

const list = data =>{
    return request.post({
        url:'/files/labels/label/list',
        data:data
    })
}

const remove = data =>{
    return request.post({
        url:'/files/imgs/img/delect',
        data:data
    })
}

const count = data =>{
    return request.post({
        url:'/files/labels/label/count',
        data:data
    })
}

const analysis = data =>{
    return request.post({
        url:'/files/labels/label/analysis',
        data:data
    })
}

const download = data =>{
    return request.post({
        url:'/download/mesh?filename=123141.nii.gz',
        data:data
    })
}
export default{
    make,
    list,
    remove,
    // modify
    count,
    analysis,
    download
}
